package com.peace.hospital.opdept.service.common.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.peace.hospital.entity.common.Staffinfo;
import com.peace.hospital.opdept.mapper.common.StaffinfoMapper;
import com.peace.hospital.opdept.service.common.IStaffinfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 医院员工信息表 服务实现类
 * </p>
 *
 * @author 谢晓峰
 * @since 2019-11-11
 */
@Service
public class StaffinfoServiceImpl extends ServiceImpl<StaffinfoMapper, Staffinfo> implements IStaffinfoService {
@Autowired
private StaffinfoMapper staffinfoMapper;
    @Override
    public Staffinfo findDoctorBydeptId(Integer depid) {
        System.out.println(staffinfoMapper.selectDoctorBydeptId(depid)+"11111111111");
        return staffinfoMapper.selectDoctorBydeptId(depid);
    }
}
